package tony.core.oss

import java.io.InputStream

/**
 * IOssService is
 * @author tangli
 * @date 2025/10/09 16:54
 */
public interface IOssService {
    /**
     * 上传文件到 oss, 然后返回oss路径
     * @param [path] 路径
     * @param [inputStream] 输入流
     * @return [String]
     * @author tangli
     * @date 2025/10/09 16:56
     */
    public fun putObject(
        path: String,
        inputStream: InputStream,
    ): String
}
